(function() {
	function lib() {
	
	
	}
	
	lib.prototype.arrayMax = function(arr) {
		return Math.max.apply(null, arr);
	}
	
	lib.prototype.arrayMin = function(arr) {
		return Math.min.apply(null, arr);
	}
	
	lib.prototype.getToday = function() {
		var date = new Date,
	 		year = date.getFullYear(),
	 		month = date.getMonth() - (-1),
	 		day = date.getDate();
	 
		if(month < 10) month = '0'+month;
		if(day < 10) day = '0'+day;
	 	
		return year+'-'+month+'-'+day;
	}
	
	
	
	
	window.LIB = new lib;
})();